feedaccount = {
    init_feedback_view: function (){
        $("#feedback_grid").datagrid({
            url: getRootPath()+'/app/feedback/feedbackget',
            method: 'get',
            fitColumns: true,
            pagination: true,
            pageList: [10, 20, 50, 100],
            pageSize: 10,
            nowrap:false,
            columns: [[
                {field: 'userid', title: '用户ID', width: 20, align: "center" },
                { field: 'phone', title: '用户手机号', width: 20, align: "center" },
                { field: 'datetime', title: '日期', width: 20, align: "center" },
                { field: 'title', title: '标题', width: 20, align: "center" },
                { field: 'linkmethod', title: '联系方式', width: 20, align: "center",formatter: function (value, row, index) {
                        if (value == null) {
                            return "暂无";
                        }
                        else {
                            return value
                        }
                    } },
                { field: 'content', title: '内容', width: 110, align: "center" }
            ]]
        });
    }
}
$(document).ready(function () {
    feedaccount.init_feedback_view();

})
